package net.kazed.nextaction.database;

import java.util.Date;

import android.database.Cursor;
import android.net.Uri;

public class Project extends Task {
    
    public static final Uri CONTENT_URI = Uri.parse("content://" + GtdAndroid.PACKAGE + "/project");
    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.nextaction.project";
    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.nextaction.project";

    /**
     * Constructor.
     * @param id ID.
     * @param description Description.
     * @param details Notes.
     * @param contextId Context ID.
     * @param parentTaskId ID of parent task.
     * @param created Timestamp created.
     * @param modified Timestamp modified.
     * @param startDate Start date.
     * @param dueDate Due date.
     * @param order Ordering.
     * @param complete True if complete.
     * @param status Status.
     */
    public Project(Integer id, String description, String details, Integer contextId, Integer parentTaskId, Date created,
                    Date modified, Date startDate, Date dueDate, Integer order, Boolean complete, TaskStatus status) {
        super(id, description, details, contextId, parentTaskId, created, modified, startDate, dueDate, order, complete, status);
    }

    /**
     * Constructor.
     * @param description Description.
     * @param details Notes.
     * @param contextId Context ID.
     * @param parentTaskId ID of parent task.
     * @param created Timestamp created.
     * @param modified Timestamp modified.
     * @param startDate Start date.
     * @param dueDate Due date.
     * @param order Ordering.
     * @param complete True if complete.
     * @param status Status.
     */
    public Project(String description, String details, Integer contextId, Integer parentTaskId, Date created, Date modified,
                    Date startDate, Date dueDate, Integer order, Boolean complete, TaskStatus status) {
        this(null, description, details, contextId, parentTaskId, created, modified, startDate, dueDate, order, complete, status);
    }

    /**
     * Constructor.
     * @param cursor Database cursor.
     */
    public Project(Cursor cursor) {
        super(cursor);
    }

    
}
